<template>
	<view class=" min100 gray">
		<view class="ptb-30 plr-30">
			<view class="text-center bold size-36">
				{{info.title}}
			</view>
			<view class="gray-2 size-22 mtb-20 text-center">
				{{info.create_time}}
			</view>
			<view v-html='info.content' class="infoWrap">

			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				id: '',
				info: {}
			}
		},
		onLoad(options) {
			this.id=options.id;
			this.$http('api/index/noticeDetail', {
				id: this.id
			}).then(res => {
				this.info = res;
			})
		},
	}
</script>

<style lang="less" scoped>
	.infoWrap {
		::v-deep  img {
			width: 100% !important;
			height: auto;
		}
	}
</style>
